package com.store.application;
import java.util.ArrayList;
import java.util.List;

import javax.persistence.Entity;

import com.store.business.ProductInStock;

@Entity
public class Company {
	private int id;
    private String nameCompany;
    private String descriptionCompany;
    private String secteurActiviteCompany;
    private int numberContratsCompany;
    private List<Product> products  = new ArrayList<Product>();
    
    
    



	public Company(int id,String nameCompany, String descriptionCompany,
			String secteurActiviteCompany) {
		super();
		this.id = id;
		this.nameCompany = nameCompany;
		this.descriptionCompany = descriptionCompany;
		this.secteurActiviteCompany = secteurActiviteCompany;
	}
	
	
	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public List<Product> getProducts() {
		return products;
	}


	public void setProducts(List<Product> products) {
		this.products = products;
	}


	public String getNameCompany() {
		return nameCompany;
	}


	public void setNameCompany(String nameCompany) {
		this.nameCompany = nameCompany;
	}


	public String getDescriptionCompany() {
		return descriptionCompany;
	}


	public void setDescriptionCompany(String descriptionCompany) {
		this.descriptionCompany = descriptionCompany;
	}


	public String getSecteurActiviteCompany() {
		return secteurActiviteCompany;
	}


	public void setSecteurActiviteCompany(String secteurActiviteCompany) {
		this.secteurActiviteCompany = secteurActiviteCompany;
	}


        public int getNumberContratsCompany() {
		return numberContratsCompany;
	}


	public void setNumberContratsCompany(int numberContratsCompany) {
		this.numberContratsCompany = numberContratsCompany;
	}


		public Company() {
    }       
}